// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssertionMethodAttribute.cs" company="CSLib.Net Team">
//   Copyright (c) Roman "4ux-nbIx" Novitsky 2010
// </copyright>
// <summary>
//   Indicates that the marked method is assertion method, i.e. it halts control flow if one of the conditions is satisfied.
//   To set the condition, mark one of the parameters with  attribute.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CSLib.Net.Annotations
{
  #region Namespace Imports

  using System;

  #endregion


  /// <summary>
  /// Indicates that the marked method is assertion method, i.e. it halts control flow if one of the conditions is satisfied. 
  /// To set the condition, mark one of the parameters with <see cref="AssertionConditionAttribute"/> attribute.
  /// </summary>
  /// <seealso cref="AssertionConditionAttribute"/>
  [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
  public sealed class AssertionMethodAttribute : Attribute
  {
  }
}